<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <meta name="csrf-token" content="{{ csrf_token() }}">
  <title>{{ config('app.name', '登录') }}</title>

  <link rel="stylesheet" href="{{ asset("/AdminLTE/bower_components/bootstrap/dist/css/bootstrap.min.css") }}">

  <!-- Font Awesome -->
  <link rel="stylesheet" href="{{ asset("/AdminLTE/bower_components/font-awesome/css/font-awesome.min.css") }}">
  <!-- Ionicons -->
  <link rel="stylesheet" href="{{ asset("/AdminLTE/bower_components/Ionicons/css/ionicons.min.css") }}">
  <link rel="stylesheet" href="{{ asset("/AdminLTE/dist/css/AdminLTE.min.css") }}">
  <link rel="stylesheet" href="{{ asset("/AdminLTE/dist/css/skins/skin-blue.min.css") }}">
  <link rel="stylesheet" href="{{ asset("/css/login.css") }}">

  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src='{{ asset ("/js/html5shiv.min.js") }}' type="text/javascript"></script>
  <script src='{{ asset ("/js/respond.min.js") }}' type="text/javascript"></script>

  <![endif]-->

  <!-- Google Font -->
  {{--<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">--}}
</head>
<body class="hold-transition login-page"  >
<div class="login-box" >
  <div class="login-logo">
    {{--<a href="../../index2.html"><b>Admin</b>LTE</a>--}}
    <a href="{{ url('/') }}">光速洗车后台管理系统</a>
  </div>
  <!-- /.login-logo -->
  <div class="login-box-body">
    <p class="login-box-msg">登录</p>

    <form action="{{ route('login') }}" method="post">
      {{ csrf_field() }}

      {{--<div class="form-group has-feedback {!! !$errors->has('email') ?: 'has-error' !!}">
        @if($errors->has('email'))
          @foreach($errors->get('email') as $message)
            <label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i>{{$message}}</label></br>
          @endforeach
        @endif
        <input type="input" class="form-control" placeholder="Email" name="email" value="{{ old('email') }}" required autofocus />
        <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
      </div>--}}

      <div class="form-group has-feedback {!! !$errors->has('name') ?: 'has-error' !!}">
        @if($errors->has('name'))
          @foreach($errors->get('name') as $message)
            <label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i>{{$message}}</label></br>
          @endforeach
        @endif
        <input type="input" class="form-control" placeholder="账号" name="name" value="{{ old('name') }}" required autofocus />
        <span class="glyphicon glyphicon-user form-control-feedback"></span>
      </div>

      <div class="form-group has-feedback {!! !$errors->has('password') ?: 'has-error' !!}">
        @if($errors->has('password'))
          @foreach($errors->get('password') as $message)
            <label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i>{{$message}}</label></br>
          @endforeach
        @endif

        <input type="password" class="form-control" placeholder="密码" name="password" value="{{ old('password') }}">
        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
      </div>

      <div class="form-group has-feedback ">
        <input type="hidden" name="_token" value="{{ csrf_token() }}">
        <button type="submit" class="btn btn-primary btn-block btn-flat">登录</button>
      </div>

      {{--<div class="row">--}}
        {{--<!-- /.col -->--}}
        {{--<div class="col-xs-4 col-md-offset-4">--}}
          {{--<input type="hidden" name="_token" value="{{ csrf_token() }}">--}}
          {{--<button type="submit" class="btn btn-primary btn-block btn-flat">登录</button>--}}
        {{--</div>--}}
      {{--</div>--}}
    </form>
  </div>
</div>

<script src="{{ asset ("/AdminLTE/bower_components/jquery/dist/jquery.min.js") }}"></script>
<!-- Bootstrap 3.3.2 JS -->
<script src="{{ asset ("/AdminLTE/bower_components/bootstrap/dist/js/bootstrap.min.js") }}" type="text/javascript"></script>
<!-- AdminLTE App -->
<script src="{{ asset ("/AdminLTE/plugins/iCheck/icheck.min.js") }}" type="text/javascript"></script>


<script>
  $(function () {
    $('input').iCheck({
      checkboxClass: 'icheckbox_square-blue',
      radioClass: 'iradio_square-blue',
      increaseArea: '20%' // optional
    });
  });
</script>
</body>
</html>
